package com.weareint.common.advices;

import lombok.Data;

@Data
public class Duration {

    private long start;

    private long end;

    public Duration(long start, long end) {
        this.start = start;
        this.end = end;
    }

    public long getDuration(){
        return end - start;
    }

}
